//
//  KDAboutController.m
//  KongDays
//
//  Created by deeplu on 12. 12. 20..
//  Copyright (c) 2012년 BlueBeans. All rights reserved.
//

#import "KDAboutController.h"

@interface KDAboutController ()

@end

@implementation KDAboutController
@synthesize closeButton;
@synthesize webView;

- (id)init
{
    self = [super initWithNibName:@"KDAboutController" bundle:nil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)dealloc
{
    [self.closeButton release];
    [self.webView release];
    
    [super dealloc];
}

#pragma mark - UIViewController methods

- (void)viewDidLoad
{
    [super viewDidLoad];

    NSURLRequest *request = [NSURLRequest
                             requestWithURL:[NSURL URLWithString:@"http://bluebeans.azurewebsites.net"]];
    
    [self.webView loadRequest:request];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

#pragma mark - IBAction methods

- (IBAction)close:(id)sender
{
    [self dismissViewControllerAnimated:YES completion:nil];
}

@end
